package com.edu;

import com.edu.api.AdminApi;
import com.edu.provider.AdminProvider;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @作者 five-five
 * @创建时间 2021/1/16
 */
@SpringBootApplication
@MapperScan("com.edu.mapper")
//@EnableDubbo(scanBasePackages = "com.edu.provider")
@ImportResource("classpath:springcontext/*.xml")
public class AdminBootStarter {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(AdminBootStarter.class);
    }
}
